The project actions take a long time.
This article contains possible solutions, if you are experiencing time of waiting in case of project actions.
Symptom 1: If you import a project for the first time, this import process takes a long time and causes some time of waiting. The import of some projects might even last over 5 minutes.
Cause: The project is using system libraries. As there is a new version of these system librarires, the system libraries are updated when the project is imported for the first time.
Solution: Keep the updated project. If you need to import the updated project again, the import process will be faster.
Symptom 2: The project actions, such as the import of projects but also the cleaning of projects, take a long time and are cause some time of waiting.
Cause: The project has been created using a Neuron Power Engineer version before 1.49.0 and the steps of the following solution have not been performed yet.
Solution so that the actions for your projects are processed more quickly:
-
In the explorer of the operating system: Go to the folder of the project – e.g. according to this FAQ-article "How can I start the explorer of the operating system from within the development environment?".
Repeat this step for each project that you are using. -
Exit Neuron Power Engineer.
-
Per project: Open the file
.project
of the project in any text editor and insert the following lines into the section<natures> ... </natures>
:<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
Example: before inserting <natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
</natures>
Example: after inserting <natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
-
Per project: Open the file
.cproject
of the project in any text editor, search for<builder
and insert the following attributes:enableAutoBuild="false" enableCleanBuild="false" enabledIncrementalBuild="false"
Example: before inserting <builder id="org.eclipse.cdt.build.core.settings.default.builder.1536239278" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
Example: after inserting <builder enableAutoBuild="false" enableCleanBuild="false" enabledIncrementalBuild="false" id="org.eclipse.cdt.build.core.settings.default.builder.1536239278" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
-
Save all changed files in the text editor. Close the files.
-
Import the required projects.